package com.test.match;

public class GenericDemo<T> {

	public void show(T t) {
		System.out.println("show:"+t);
	}
	public void print(T t) {
		System.out.println("print:"+t);
	}
	public static void main(String[] args) {
		GenericDemo<Integer> d = new GenericDemo<Integer>(); 
		d.show(new Integer(8));
		d.print(5);
	}
}
